<%= form_for(@stock_daily_detail) do |f| %>
  <% if @stock_daily_detail.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@stock_daily_detail.errors.count, "error") %> prohibited this stock_daily_detail from being saved:</h2>

      <ul>
      <% @stock_daily_detail.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
